#ifndef __TESTDATASTR_H_  
#define __TESTDATASTR_H_  
#include <stdio.h> 
#include <stdlib.h>
#define ERROR_CHECK(ret, num, msg)     {                                      if (ret == num)                    {                                      perror(msg);                    exit(1);                      }                              } 
 #include "singleLinkedList.h"
 void myinitList(ND *head) ;
 typedef struct tree
 {
    char data;
    struct tree * lchild;
    struct tree * rchild;
 }TREE;

 typedef struct queueNode
 {
    int data;
    //int size;
    struct queueNode *next;
 }QU;
 
 TREE *creatTree();

 QU * createQueue();
 int isEmpty(QU * queue);
 int isFull(QU *queque);
 int countNode(QU *queue);
 void level_show(TREE * root);
#endif
